projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c5d997
)
garmin_gpi: Fix MSVC error (C89).
author
oliskoli
<oliskoli>
Wed, 25 Jul 2007 21:18:05 +0000
(21:18 +0000)
committer
oliskoli
<oliskoli>
Wed, 25 Jul 2007 21:18:05 +0000
(21:18 +0000)
garmin_gpi.c
patch
|
blob
|
history
diff --git
a/garmin_gpi.c
b/garmin_gpi.c
index cd45723ed302b3c27b34d0d68a54eb71f11749c3..26536684ee620eda48c4af818d24710d4d2d678e 100644
(file)
--- a/
garmin_gpi.c
+++ b/
garmin_gpi.c
@@
-176,10
+176,10
@@
static short_handle short_h;
static garmin_fs_t *
gpi_gmsd_init(waypoint *wpt)
{
+ garmin_fs_t *gmsd = GMSD_FIND(wpt);
if (wpt == NULL) {
fatal(MYNAME ": Error in file structure.\n");
}
- garmin_fs_t *gmsd = GMSD_FIND(wpt);
if (gmsd == NULL) {
gmsd = garmin_fs_alloc(-1);
fs_chain_add(&wpt->fs, (format_specific_data *) gmsd);